package com.mysoft.gfyx.clue.remoteservice;

import com.mysoft.framework.rpc.annotation.RemoteAction;
import com.mysoft.framework.rpc.annotation.RemoteService;
import com.mysoft.gfyx.common.dto.RequestDto;
import com.mysoft.gfyx.common.dto.SystemQueryUserBusinessUnit.ResponseDto;
import com.mysoft.gfyx.common.dto.SystemQueryOrganization.QueryOrganizationResponseDto;
import com.mysoft.gfyx.common.dto.SystemQueryUser.QueryUserResponseDto;
import feign.Headers;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMethod;

@RemoteService(appCode = "0000", path = "/Mysoft.PubPlatform.Organization.PublicServices.IBasicDataPublicService")
public interface RemoteSystemIBasicPublicService {
    @RemoteAction(path = "/QueryUserBusinessUnitMappingList", method = RequestMethod.POST)
    @Headers("Content-Type: application/json")
    ResponseDto QueryUserBusinessUnitMappingList(@RequestBody RequestDto requestDto);

    @RemoteAction(path = "/QueryOrganizationList", method = RequestMethod.POST)
    @Headers("Content-Type: application/json")
    QueryOrganizationResponseDto QueryOrganizationList(@RequestBody RequestDto requestDto);

    @RemoteAction(path = "/QueryUserList", method = RequestMethod.POST)
    @Headers("Content-Type: application/json")
    QueryUserResponseDto QueryUserList(@RequestBody RequestDto requestDto);
}
